CVE-2025-66215
OpenSC: Stack-buffer-overflow WRITE in card-oberthur
Description
OpenSC is an open source smart card tools and middleware. Prior to version 0.27.0, an attacker with physical access to the computer at the time user or administrator uses a token can cause a stack-buffer-overflow WRITE in card-oberthur. The attack requires crafted USB device or smart card that would present the system with specially crafted responses to the APDUs. This issue has been patched in version 0.27.0.
INFO
Published Date :
March 30, 2026, 6:16 p.m.
Last Modified :
April 1, 2026, 5:28 p.m.
Remotely Exploit :
No
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | LOW | [email protected] | ||||
| CVSS 3.1 | LOW | MITRE-CVE | ||||
| CVSS 3.1 | MEDIUM | [email protected] |
Solution
- Update OpenSC to version 0.27.0 or later.
- Ensure all components are updated to patched versions.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2025-66215.
| URL | Resource |
|---|---|
| https://github.com/OpenSC/OpenSC/commit/efd1d479832141bcf705c2f47655ada4d5f92f5d | Patch |
| https://github.com/OpenSC/OpenSC/pull/3436 | Issue Tracking Patch |
| https://github.com/OpenSC/OpenSC/security/advisories/GHSA-q5fc-cw56-hwp2 | Patch Vendor Advisory |
| https://github.com/OpenSC/OpenSC/wiki/CVE-2025-66215 | Vendor Advisory |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2025-66215 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2025-66215
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2025-66215 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2025-66215 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Apr. 01, 2026
Action Type Old Value New Value Added CVSS V3.1 AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Added CPE Configuration OR *cpe:2.3:a:opensc_project:opensc:*:*:*:*:*:*:*:* versions up to (excluding) 0.27.0 Added Reference Type GitHub, Inc.: https://github.com/OpenSC/OpenSC/commit/efd1d479832141bcf705c2f47655ada4d5f92f5d Types: Patch Added Reference Type GitHub, Inc.: https://github.com/OpenSC/OpenSC/pull/3436 Types: Issue Tracking, Patch Added Reference Type GitHub, Inc.: https://github.com/OpenSC/OpenSC/security/advisories/GHSA-q5fc-cw56-hwp2 Types: Patch, Vendor Advisory Added Reference Type GitHub, Inc.: https://github.com/OpenSC/OpenSC/wiki/CVE-2025-66215 Types: Vendor Advisory -
New CVE Received by [email protected]
Mar. 30, 2026
Action Type Old Value New Value Added Description OpenSC is an open source smart card tools and middleware. Prior to version 0.27.0, an attacker with physical access to the computer at the time user or administrator uses a token can cause a stack-buffer-overflow WRITE in card-oberthur. The attack requires crafted USB device or smart card that would present the system with specially crafted responses to the APDUs. This issue has been patched in version 0.27.0. Added CVSS V3.1 AV:P/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L Added CWE CWE-121 Added Reference https://github.com/OpenSC/OpenSC/commit/efd1d479832141bcf705c2f47655ada4d5f92f5d Added Reference https://github.com/OpenSC/OpenSC/pull/3436 Added Reference https://github.com/OpenSC/OpenSC/security/advisories/GHSA-q5fc-cw56-hwp2 Added Reference https://github.com/OpenSC/OpenSC/wiki/CVE-2025-66215